]> dgit.raspbian.org Git - gnome-shell.git/commit
workspace: Only change opacity of minimized windows during transitions
authorSebastian Keller <skeller@gnome.org>
Mon, 17 May 2021 17:40:12 +0000 (19:40 +0200)
committerSebastian Keller <skeller@gnome.org>
Fri, 23 Jul 2021 10:38:12 +0000 (12:38 +0200)
commiteee2ccac7a9e755e6f117a95fcebf39bacd79c11
treeb47e1fa32609a80a30dd59f83d5ba261c878229b
parent118d55699176b5a34b04d4bc4f7ab371fa4661dd
workspace: Only change opacity of minimized windows during transitions

Dragging a window preview in the overview is supposed to change the
opacity of the dragged actor. This however fails for minimized windows,
because Workspace::allocate() also changes the opacity of those. The
allocation gets triggered by removing the window actor from the
workspace when starting the drag. Avoid this by only changing the
opacity during the overview transitions.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4292

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1847>
js/ui/workspace.js